package com.copc.common.constants;

/**
 * 证件类型
 */
public enum IdTypeEnum {
    JMSFZ("居民身份证","01"),
    JMSFZOR("居民身份证","1"),
    HKB("户口簿","02"),
    HKBOR("户口簿","2"),
    HZ("护照","03"),
    HZOR("护照","3"),
    JGZ("军官证","04"),
    JGZOR("军官证","4"),
    JSZ("驾驶证","05"),
    JSZOR("驾驶证","5"),
    FXZ("返乡证","06"),
    FXZOR("返乡证","6"),
    ZJJGDMZ("组织机构代码证","07"),
    ZJJGDMZOR("组织机构代码证","7"),
    SBJ("士兵证","08"),
    SBJOR("士兵证","8"),
    JINGGZ("警官证","09"),
    JINGGZOR("警官证","9"),
    WGRYJJZZ("外国人永久居住证","10"),
    LSSFZ("临时身份证","11"),
    TBZ("台胞证","12"),
    TYXYDM("统一社会信用代码","14"),
    GATJZZ("港澳台居住证","81"),
    QT("其他","99");


    private final String code;

    private final String value;

    IdTypeEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    //获取编号
    public String code() {
        return code;
    }

    //获取信息
    public String value() {
        return value;
    }

    @Override
    public String toString() {
        return String.valueOf(this.code);
    }
}
